x86/context-switch: prefer is_..._domain() over is_..._vcpu()
authorJan Beulich <jbeulich@suse.com>
Fri, 12 Jun 2015 10:04:26 +0000 (12:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 12 Jun 2015 10:04:26 +0000 (12:04 +0200)
commit2cba5cfe8036eedf6654cdda2cabb6084508a81f
tree6e4864c5852dba7c4d32b07e004740e4f59b5332
parentc6e24bdc1bcd6c7736326ddc24104a597e754103
x86/context-switch: prefer is_..._domain() over is_..._vcpu()

Latch both domains alongside both vCPU-s into local variables, making
use of them where possible also beyond what the title says.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/domain.c